home *** CD-ROM | disk | FTP | other *** search
/ ftp.cs.arizona.edu / ftp.cs.arizona.edu.tar / ftp.cs.arizona.edu / icon / newsgrp / group00a.txt / 000099_icon-group-sender _Wed May 17 07:40:50 2000.msg < prev    next >
Internet Message Format  |  2001-01-03  |  6KB

  1. Return-Path: <icon-group-sender>
  2. Received: (from root@localhost)
  3.     by baskerville.CS.Arizona.EDU (8.9.1a/8.9.1) id HAA00658
  4.     for icon-group-addresses; Wed, 17 May 2000 07:40:36 -0700 (MST)
  5. Message-Id: <200005171440.HAA00658@baskerville.CS.Arizona.EDU>
  6. From: "Ian Trudel" <ian.trudel@tr.cgocable.ca>
  7. X-Newsgroups: comp.lang.icon
  8. Subject: Re: Is Anyone Working On A Unicode Version Of Icon?
  9. X-Priority: 3
  10. X-MSMail-Priority: Normal
  11. X-Newsreader: Microsoft Outlook Express 5.00.2919.6600
  12. X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6600
  13. Date: Wed, 17 May 2000 05:26:27 GMT
  14. X-Complaints-To: abuse@cgocable.ca
  15. X-Trace: carnaval.risq.qc.ca 958541187 24.226.208.172 (Wed, 17 May 2000 01:26:27 EDT)
  16. To: icon-group@optima.CS.Arizona.EDU
  17. Errors-To: icon-group-errors@optima.CS.Arizona.EDU
  18. Status: RO
  19.  
  20. "Marc Espie" <espie@liafa.jussieu.fr> a ∩┐╜crit dans le message news:
  21. 8ft0ri$5ao$1@vishnu.jussieu.fr...
  22. > In article <7xnU4.786$to2.102519@carnaval.risq.qc.ca>,
  23. > Ian Trudel <ian.trudel@tr.cgocable.ca> wrote:
  24. > >Yes, but there are many factors that may not be in favor of doing
  25. primitive
  26. > >types in Icon. Speed issue may be a problem. Or when the primitive uses
  27. > >system depend things, such as sockets or some database API. Yet, the
  28. spirit
  29. > >of Icon is not "everything should be made in Icon" such as Smalltalk
  30. > >communities. Icon is not even bootstrapped. This latter made me
  31. surprised,
  32. > >Icon is so powerful and his text processing feature would just let anyone
  33. > >write good, complete and yet understandable compiler/interpreter!
  34. > I've always been under the impression that the Icon project has a shortage
  35. > of man power, which means that many cool things actually don't exist.
  36.  
  37. Well, yet I just mean things that already exist.. but maybe Icon can help us
  38. to do these in some easier manners?! ::)
  39.  
  40. > Personally, I would love to see Icon extended to be Idol (without the
  41. > preprocessing, which makes things awkward enough to debug for me that I
  42. > seldom use idol), or I would love to see the icon compiler resurrected,
  43. and
  44. > extended to handle separate compilation and direct translation to C
  45. > primitive numeric types (well, C++ looks like a more viable alternative,
  46. > but then I'm weird).
  47.  
  48. My feeling about Idol is: this is just the same as C and Objective-C. Having
  49. Idol implemented in the core of Icon's implementation may not be trivial
  50. task at all. I don't know Idol, but Objective-C allows many dynamic things
  51. that you just couldn't do in C++. If Idol does so, it makes the full C
  52. implementation harder to write. Since I haven't tried Idol, I can't speak
  53. with much concern, but it may just be matter of changing few things out the
  54. current preprocessing implementation to make it stronger. Yet, you could
  55. also build a special debugging tool.
  56.  
  57. I'm some C fellow, but I'm just thinking as an Icon programmer, we should
  58. get out of any direct contact with C. Hence I'm getting interest in some
  59. bootstrapping, writting primitives in Icon (which they would be translated
  60. in C for compilation and linking). If Icon would allow us to write shared
  61. library, that'd really rocks. We could write some high level primitives that
  62. really needs to be written in Icon (only few cases, IMO). Unfortunatly,
  63. handling shared library is often OS-oriented. Under *NIX, it's pretty easy,
  64. but under Windows and OS/2, it requires some special structure. Anyway, this
  65. is just a thought!
  66.  
  67. As you write about C++, I don't see any point of it. Icon is implemented in
  68. C and C is available on a *lot* of platforms and works quite same (I've got
  69. a weird feeling "quite same", "quite same", [..]). You should not forget
  70. that the interface with generated code and Icon would probably be in C
  71. rather than C++ anyway. I think the standard translator should translate
  72. Icon to C, but nothing says there should not be a C++ translator available
  73. as well.
  74.  
  75. BTW, I just like your "icon compiler resurrected" ! It's an interesting
  76. thing that talks by itself. Actually, the current Icon implementation is a
  77. little bit complex. I've seen worst, of course, Icon is nonetheless clearly
  78. written. But since I'm some VM hacker wannabe (*LOL*), I got in touch with
  79. some implementations out there. Smalltalk's VM came up the easiest one.
  80. Squeak in particular is bringing a new vision of VM implementations.
  81. Squeak's VM is pretty easy to understand, even for a newbie VM hacker. I
  82. don't think it should remplace Icon. I'm not promoting Smalltalk here. I
  83. just think it could help to reimplement Icon in a new, fresh, and very
  84. simple manner. For exemple, block contexts in Smalltalk are just the same as
  85. "scanning environment", but they are not specific to strings, not specific
  86. at all! This would be a long term project that IPG would probably not want
  87. to do. However, the dynamic primitive data types would be much more
  88. interesting and smaller project.
  89.  
  90. > Unfortunately, I don't believe that the projet has resources to do that,
  91. > and I also know that I'm tangled up in enough programming projects that
  92. > I can't afford yet another one :(
  93.  
  94. I don't know the position of IPG in the moment, they'll probably hook on our
  95. thread this week. I don't know if I would do it myself, I'm kinda concerned
  96. in professional development and willing to write software(s) in Icon. The
  97. fact is I need something to pay my university fees. ::) Another fact is, if
  98. I would do it.. will IPG integrate it to Icon? If the answer is no, I would
  99. not even write a line of code because this would lead to ANOTHER dialect of
  100. the language. I'd rather support fully Icon.
  101.  
  102. cheer,
  103. --
  104. Ian Trudel, aka BackOrder
  105. StarTrip Server Administrator
  106. http://startrip.gene6.com/
  107.  
  108.  
  109.